#!/bin/sh
# pip install pipenv
# pipenv install --python 3.12
pipenv shell
# pipenv install python-docx
# pipenv install openpyxl
# pipenv install dearpygui
# pipenv install pyinstaller

pyinstaller --hidden-import python-docx --hidden-import dearpygui --name schedule -i res/schedule.ico -w -F main.py

mkdir -p dist/res
cp res/AlibabaPuHuiTi-3-55-Regular.ttf dist/res/AlibabaPuHuiTi-3-55-Regular.ttf